package com.example.certificate.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.example.certificate.common.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author hao
 * @since 2022-03-10 12:42:47
 */
@Getter
@Setter
@TableName("product_info")
@ApiModel(value = "ProductInfo对象", description = "")
public class ProductInfo extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @TableField("user_id")
    private String userId;

    @TableField("estimated_time")
    private String estimatedTime;

    @TableField("originalPrice")
    private Float originalPrice;

    @TableField("tradeName")
    private String tradeName;

    @TableField("tradeDescribe")
    private String tradeDescribe;

    @TableField("tradePrice")
    private Float tradePrice;

    @TableField("brokerage")
    private Float brokerage;

    @TableField("businessId")
    private String businessId;

    @TableField("image")
    private String image;

    @TableField(exist = false)
    private String businessVal;

    @TableField(exist = false)
    private Integer purchaseQuantity;

    @TableField(exist = false)
    private Float purchaseTotal;

    @TableField("creation_stage")
    private String creationStage;

    @TableField("manuscript_parameter")
    private String manuscriptParameter;

    @TableField("product_type")
    private Integer productType;
}
